php forum
php mysql forum
php mysql smarty
 
Topic Options
#234957 - 02/02/03 11:39 AM [6.2] Icon Select Pull Down Menu 1.2
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name / Version - Icon Select Pull Down Menu 1.2 <br />    Version 1.1 adds support for Table Wrappers - thanks Dalantech <br />    Version 1.2 adds a preview image when you select an option from the pull down. <br /> <br />Description - Threads does come with an outdated ubbt_icon_select.tmpl file in the ALTERNATE template directory. This gives you the option of selecting only from the standard threads icons. I have reworked that template as well as the showicons.php script and template to read the icons directory and give a true listing of all your post icons in a pull down menu. Also, when clicking the link to see the post icons, it will show them all, not just threads default. <br /> <br />Working Under - UBB.Threads 6.2 <br /> <br />Pre-requisites - none <br /> <br />Author - JoshPet - www.joshuapettit.com and Dalantech <br /> for discussions and bug reports come to www.threadsdev.com <br /> <br />Credits - Commissioned by freeconservatives.com - Dalantech for table wrapper tweaks <br /> <br />Files Altered - addpost.php, showicons.php, /templates/default/showicons.tmpl <br /> <br />Database Altered - NO <br /> <br />New Files - a new ubbt_icon_select.tmpl file is included <br /> <br />Any other info - I've given this to Rick to potentially be included in the next version. <br /> <br />


Attachments
67241-IconPulldown1.2.zip (240 downloads)



Edited by JoshPet (02/13/03 12:15 AM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#234958 - 02/02/03 01:49 PM Re: [6.2] Icon Select Pull Down Menu 1.0 [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Very <img src="/forum/images/graemlins/cool.gif" alt="" /> !<br /><br />I made a couple of changes to make the icon select page use the new table wrappers.<br /><br />In the showicons.php file look for<br /><br />
Code:
<br />// ---------------------<br />// Send the page to them<br />   $html = new html;<br />   $html -&gt; send_header($ubbt_lang['POST_ICON'],$Cat,0,0,0,0); 
<br /><br />And above that add:<br /><br />
Code:
<br />// ---------------------<br />// Grab the tablewrapper<br />   $html = new html;<br />   list($tbopen,$tbclose) = $html -&gt; table_wrapper(); 
<br /><br />I've attached a new showicons.tmpl file (too many changes / too lazy to document them all <img src="/forum/images/graemlins/wink.gif" alt="" /> ).


Attachments
67258-showicons.tmpl (64 downloads)

_________________________
Da LAN Tech

Threads Dev Moderator

Top
#234959 - 02/02/03 01:58 PM Re: [6.2] Icon Select Pull Down Menu 1.1 [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thanks! <img src="/forum/images/graemlins/cool.gif" alt="" /><br /><br />Tweaked the main post above to version 1.1 to include your modifications! Thanks! <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#234960 - 02/02/03 02:01 PM Re: [6.2] Icon Select Pull Down Menu 1.1 [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
<img src="/forum/images/graemlins/cool.gif" alt="" /> thanks!<br /><br />Is there any way to make the note the default in the new post / reply pages? Blush is at the top, and I'm sure a lot of people won't bother to change it, or will complain that they do have to make a selection now.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#234961 - 02/02/03 02:05 PM Re: [6.2] Icon Select Pull Down Menu 1.1 [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
My hack to the ubbt_icon_select.tmpl does that.... what I did was leave the default option at the top... otherwise it's alphabetical.<br /><br />So only take out the code from the blus on.... so that the ubbt_icon_select.tmpl should have the bit like this:<br /><br /><option value="book.gif">{$ubbt_lang['ICON_NOTE']}</option><br />$iconmenu<br /></select><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#234962 - 02/02/03 02:36 PM Re: [6.2] Icon Select Pull Down Menu 1.1 [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Perfect <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#234963 - 02/13/03 12:16 AM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Updated this to version 1.2.<br /><br />Version 1.2 adds a preview image.... so you can see a preview of what icon you've selected.<br /><br />Demo here. <br /><img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Try selecting a different post icon. <img src="/forum/images/graemlins/grin.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#234964 - 02/21/03 09:46 PM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
This work on the quick reply mod? I really only want this for the quick reply.

Top
#234965 - 02/22/03 10:39 AM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Added to my site, <img src="/forum/images/graemlins/cool.gif" alt="" /> !
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#234966 - 02/22/03 01:46 PM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: Kelly]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I did this on a client's site last night.<br /><br />I'll pull together the tweaking instructions to use the icon select on the quick reply soon.<br /><br />I wasn't able to include the template, as the layout had to be a little different, but I was able to just include the code.<br /><br />Stay tuned.... <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#234967 - 02/22/03 11:35 PM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
thanks josh wish I had some decent coding skills... fun toys constantly.

Top
#234968 - 02/26/03 08:36 PM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: Kelly]
DLWebmaestro Offline
Addict

Registered: 08/08/00
Posts: 1802
Loc: North Carolina
Installed and working great. Thanks Josh! <img src="/forum/images/graemlins/peace.gif" alt="" />

Top
#234969 - 06/13/03 04:58 AM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Will you update this for 6.3? I've noticed a difference in the current version and the one you have installed here. The old version has note at the top, and if you select a different icon, and then go back to note, you get a broken link. It doesn't happen here though <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#234970 - 06/13/03 12:44 PM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Will do. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#234971 - 06/13/03 02:58 PM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks -your hard work is paing off: Threads Dev looks great!!! <img src="/forum/images/graemlins/applause.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#234972 - 06/14/03 02:38 AM Re: [6.2] Icon Select Pull Down Menu 1.2 [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Fixed and updated - posted here:<br /><br />http://www.ubbdev.com/forum/showflat.php?Number=84789
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks